import { UploaderService } from '@app/uploader';
import { Injectable } from '@nestjs/common';

@Injectable()
export class UploadService {

    constructor(
        private readonly uploader:UploaderService,
    ) {}
    async upload(file:Express.Multer.File, userId:number) {
        return this.uploader.put(file, userId)
    }
}
